<template>
  <view class="container-white">
    <view @click="goPerson" class="list-cell flex-box">
      <view class="list-cell-icon">
        <image src="../../static/icon/gerenxinxiyixuan@3x.png" style="width: 40upx;height: 40upx;" />
      </view>
      <view style="flex: 1;">基本信息</view>
      <image src="../../static/icon/icon-go.png" class="icon-go" />
    </view>
    <view @click="goCert" class="list-cell flex-box">
      <view class="list-cell-icon">
        <image src="../../static/icon/zhengjian@3x.png" style="width: 36upx;height: 40upx;" />
      </view>
      <view style="flex: 1;">证件管理</view>
      <image src="../../static/icon/icon-go.png" class="icon-go" />
    </view>
    <view @click="goViolated" class="list-cell flex-box">
      <view class="list-cell-icon">
        <image src="../../static/icon/icon-sw-records.png" style="width: 40upx;height: 40upx;" />
      </view>
      <view style="flex: 1;">违章记录</view>
      <image src="../../static/icon/icon-go.png" class="icon-go" />
    </view>
    <view @click="goHistory" class="list-cell flex-box">
      <view class="list-cell-icon">
        <image src="../../static/icon/gongzuojingli@3x.png" style="width: 36upx;height: 40upx;" />
      </view>
      <view style="flex: 1;">工作经历</view>
      <image src="../../static/icon/icon-go.png" class="icon-go" />
    </view>
    <view
      @click="editPassWord"
      class="list-cell flex-box"
      style="border-bottom: 1px solid #EDEDED;"
    >
      <view class="list-cell-icon">
        <image src="../../static/icon/xiugaimima@3x.png" style="width: 30upx;height: 40upx;" />
      </view>
      <view style="flex: 1;">修改密码</view>
      <image src="../../static/icon/icon-go.png" class="icon-go" />
    </view>
  </view>
</template>

<script>
import {post_md5} from '../../common/request'

export default {
  data() {
    return {}
  },
  onLoad() {},
  methods: {
    // 跳转基本信息
    goPerson() {
      uni.navigateTo({
        url: 'person'
      })
    },

    // 证件管理
    goCert() {
      uni.navigateTo({
        url: 'cert'
      })
    },

    // 三违记录
    goViolated() {
      uni.navigateTo({
        url: 'violation-records'
      })
    },

    // 工作经历
    goHistory() {
      uni.navigateTo({
        url: 'work-history'
      })
    },

    // 修改密码
    editPassWord() {
      uni.navigateTo({
        url: 'edit-password'
      })
    }
  }
}
</script>

<style>
.list-cell {
  border-top: 1px solid #ededed;
  padding: 30upx;
}

.list-cell-icon {
  width: 40upx;
  height: 40upx;
  text-align: center;
  margin-right: 20upx;
}

.icon-go {
  width: 14upx;
  height: 26upx;
}
</style>
